<!DOCTYPE html>
<html lang="cs">
<head>
	<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
	<meta http-equiv="Content-Language" content="cs" />
	<meta http-equiv="content-script-type" content="text/javascript" />
	<meta http-equiv="content-style-type" content="text/css" />
	<meta name="description" content="Albireo Kernel" />
	<meta name="keywords" content="Albireo Kernel" />
	<meta name="copyright" content="copyright 2010 Celebrio Software" />
	<meta name="author" content="all: Celebrio Software; celebrio@celebriosoftware.com" />

	<meta name="robots" content="{$robots}" n:ifset="$robots" />

	<title>Celebrio Kernel{ifset $title} - {$title}{/if}</title>

	<script type="text/javascript" src="{$basePath}/js/libs/jquery.js"></script>
	<script type="text/javascript" src="{$basePath}/js/libs/jquery-nette.js"></script>
	<!-- TODO: jquery UI zmensit jen na casti ktere potrebujeme -->
	<script type="text/javascript" src="{$basePath}/js/libs/jquery-ui.js"></script>
	<script type="text/javascript" src="{$basePath}/js/apps/jquery-ajax.js"></script>
	<script type="text/javascript" src="{$basePath}/js/apps/buttons-designer.js"></script>

	{if Albireo\Mode::isCritical()===FALSE}
	<link rel="stylesheet" media="screen,projection,tv" href="{$basePath}/css/jquery-ui/normal/default.css" type="text/css" />
	{else}
	<link rel="stylesheet" media="screen,projection,tv" href="{$basePath}/css/jquery-ui/critical/default.css" type="text/css" />
	{/if}
	<link rel="stylesheet" media="screen,projection,tv" href="{$basePath}/css/kernel/screen-default.css" type="text/css" />
	{if Albireo\Mode::isCritical()===FALSE}
	<link rel="stylesheet" media="screen,projection,tv" href="{$basePath}/css/kernel/screen-normal.css" type="text/css" />
	{else}
	<link rel="stylesheet" media="screen,projection,tv" href="{$basePath}/css/kernel/screen-critical-mode.css" type="text/css" />
	{/if}
	<link rel="shortcut icon" href="{$basePath}/favicon.ico" type="image/x-icon" />
</head>
<body>
    <noscript><style type="text/css">.button { display:inline-block;padding:0.4em 1em;width:auto; }</style></noscript>
    <div id="kernel_container">
	<a href="{$basePath}/kernel" title="{!_'Home'}" id="kernel_logo"><span class="invisible">{!_"Home"}</span></a>
	<div id="kernel_header"><span>Kernel</span></div>
	{if isset($links)}
	<ul id="kernel_main_menu">
	    {foreach $links as $link => $value}
	    <li>
		<a href="{link :$link:}" title="{$value}">{$value}</a>{if !$iterator->isLast()} | {/if}
	    </li>
	    {/foreach}
	</ul>
	{/if}

	<div id="kernel_body">
	    {foreach $flashes as $flash}<div class="flash {$flash->type}">{$flash->message}</div>{/foreach}

	    @{include #content}
            {* '@' is controlling sign for snippets,
                see http://forum.nettephp.com/cs/2451-zavinacova-magie-v-praxi 
                (basic info in czech)
            *}
	</div>
	<div id="kernel_footer">© 2011 Celebrio Software</div>
    </div>
</body>
</html>